CC=gcc
CFLAGS=
OBJS=socket.o sqlite.o ds18b20.o main.o log.o

client: $(OBJS)
	$(CC) $(CFLAGS) $^ -o $@ -I /home/zyl/sqlite_lib/include -L /home/zyl/sqlite_lib/lib/ -lsqlite3 

do:
	cd ./src/ && cp -r *.c ../
	cd ../
	cd ./inc/ && cp -r *.h ../
	cd ../

cleando:
	rm -r ./*.h *.c *.o

run: 
	./client -p 9033 -i 59.173.134.228 -t 3 

clean:
	rm -rf *.o
